<!DOCTYPE html>
<html>
<head>
    <title>收预付款</title>
    <meta charset="utf-8">
    <!-- 指定以IE8的方式来渲染 -->
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
    <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="/js/bootstrap/css/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="/css/jsherp.css"/>
    <link rel="stylesheet" type="text/css" href="/js/easyui/themes/gray/easyui.css"/>
    <link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
    <link type="text/css" rel="stylesheet" href="/css/common.css"/>
    <link type="text/css" rel="stylesheet" href="/css/financial.css"/>
    <script src="/js/jquery-1.8.0.min.js"></script>
    <script src="/js/easyui/jquery.easyui.min.js"></script>
    <script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script src="/js/My97DatePicker/WdatePicker.js"></script>
    <script src="/js/common/common.js"></script>
    <script src="/js/pages/financial/financial_base.js"></script>
</head>
<body>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:5px;" title="收预付款列表" iconCls="icon-list">
    <div class="box-body form-inline">
        <div class="form-group">
            <label class="control-label">单据编号：</label>
            <div class="control-inline">
                <input type="text" id="searchBillNo" name="searchBillNo" value="" maxlength="100" class="easyui-textbox width-90"/>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label">单据日期：</label>
            <div class="control-inline">
                <input type="text" id="searchBeginTime" name="searchBeginTime" value="" maxlength="100" class="easyui-datebox width-120"/>
                -
                <input type="text" id="searchEndTime" name="searchEndTime" value="" maxlength="100" class="easyui-datebox width-120"/>
            </div>
        </div>
        <div class="form-group">
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
        </div>
    </div>
    <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div>

<div id="accountHeadDlg" class="easyui-dialog" style="padding:10px 20px;" fit="true"
     closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true">
    <form id="accountHeadFM" method="post" novalidate>
        <table width="100%">
            <tr>
                <td style="width:70px;">付款会员</td>
                <td style="padding:5px;width:170px;">
                    <select name="OrganId" id="OrganId" style="width:110px;"></select>
                </td>
                <td style="width:70px;">经手人</td>
                <td style="padding:5px;width:170px;">
                    <select name="HandsPersonId" id="HandsPersonId" class="radius-ui" style="width:110px;"></select>
                </td>
                <td style="width:70px;">单据日期</td>
                <td style="padding:5px;width:170px;">
                    <input type="text" name="BillTime" id="BillTime"
                           onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
                           style="width:140px;" readonly/>
                </td>
                <td style="width:80px;">单据编号</td>
                <td style="padding:5px;width:170px;">
                    <input name="BillNo" id="BillNo" class="easyui-validatebox radius-ui"
                           data-options="validType:'length[2,30]'" style="width: 140px;" readonly/>
                </td>
                <td style="width:100px;"></td>
            </tr>
            <tr>
                <td colspan="9">
                    <!-- 单据列表table -->
                    <table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table>
                </td>
            </tr>
            <tr>
                <td colspan="9">
                    <textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
                              style="width: 100%; height:35px;"></textarea>
                </td>
            </tr>
            <tr>
                <td>优惠金额</td>
                <td style="padding:5px">
                    <input type="text" name="ChangeAmount" id="ChangeAmount" class="radius-ui" style="width: 110px;"/>
                </td>
            </tr>
        </table>
    </form>
</div>
<div id="dlg-buttons">
    <a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
    <a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel"
       onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a>
</div>
<div id="accountHeadDlgShow" class="easyui-dialog" style="padding:10px 20px;" fit="true"
     closed="true" buttons="#dlg-buttons-show" modal="true" cache="false" collapsible="false" closable="true">
    <table width="100%">
        <tr>
            <td style="width:60px;">付款会员：</td>
            <td style="padding:5px;width:140px;">
                <span id="OrganIdShow"></span>
            </td>
            <td style="width:70px;">经手人：</td>
            <td style="padding:5px;width:130px;">
                <span id="HandsPersonIdShow"></span>
            </td>
            <td style="width:70px;">单据日期：</td>
            <td style="padding:5px;width:130px;">
                <span id="BillTimeShow"></span>
            </td>
            <td style="width:80px;">单据编号：</td>
            <td style="padding:5px;width:130px;">
                <span id="BillNoShow"></span>
            </td>
            <td style="width:100px;"></td>
        </tr>
        <tr>
            <td colspan="9" style="width: 1130px;">
                <!-- 单据列表table -->
                <table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table>
            </td>
        </tr>
        <tr>
            <td style="width:60px;">单据备注：</td>
            <td colspan="8" style="height:35px;">
                <span id="RemarkShow" style="width: 100%; height:35px;"></span>
            </td>
        </tr>
        <tr>
            <td>优惠金额：</td>
            <td style="padding:5px;width:120px;">
                <span id="ChangeAmountShow"></span>
            </td>
        </tr>
    </table>
</div>
<div id="dlg-buttons-show">
    <a href="javascript:void(0)" id="printAccountHeadShow" class="easyui-linkbutton" iconCls="icon-ok">打印</a>
    <a href="javascript:void(0)" id="cancelAccountHeadShow" class="easyui-linkbutton" iconCls="icon-cancel"
       onclick="javascript:$('#accountHeadDlgShow').dialog('close')">取消</a>
</div>
</body>
</html>
